package cn.itcast.service;

import cn.itcast.dto.SetmealDto;
import cn.itcast.entity.Page;

import java.util.List;
import java.util.Map;

public interface ISetmealService {
    void save(SetmealDto setmealDto);

    Page<SetmealDto> findByName(Integer pageNum, Integer pageSize, String name);

    SetmealDto findById(Long id);

    void delete(Long[] ids);


    List<SetmealDto> list(Long categoryId, Integer status);

    List<Map<String, Object>> findSetmealDish(Long setmealId);
}
